//
//  QQAipOcrManager.h
//  QQZF
//
//  Created by hdz on 2018/6/4.
//  Copyright © 2018年 com.szqqkj. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSInteger,QQAipOcrManagerType){
    QQAipOcrManagerTypeBank = 0,      // 银行卡
    QQAipOcrManagerTypeCreditBank = 1,
    QQAipOcrManagerTypeIdCardFont = 2,
    QQAipOcrManagerTypeIdCardBank = 3,
    
};

@interface QQAipOcrManager : NSObject

+ (instancetype)shareOCR;

- (void)callBack:(void(^)(NSDictionary *dictModel))back;

- (void)imgBack:(void(^)(UIImage *bankImag))img;

- (void)callBackIdcard:(void (^)(NSDictionary *userDict))back;

- (void)begainwithType:(QQAipOcrManagerType)type;

@property (assign, nonatomic) QQAipOcrManagerType ocrType;

@end
